package main.java.design.interpreter;

/**
 * <p>
 *     代码参考：https://zhuanlan.zhihu.com/p/87794096
 * </p>
 *
 * @author : wangdejian
 * @version 1.0
 * @date : 2020/6/26 15:47
 */
public class Client {
    public static void main(String[] args) {
        String input = "6 100 11 + *";
        ExpressionParser parser = new ExpressionParser();
        int result = parser.parse(input);
        System.out.println("解释器运算结果：" + result);
    }

}
